package com.tansuo365.test1.service.kucunservice;

import com.tansuo365.test1.bean.kucunbean.*;

import java.util.List;

/**
 * 出库执行, 也就是出库单和到货单的汇总
 */
public interface ChukuZhixingService {

    int deleteByPrimaryKey(Integer id);

    int insertSelective(ChukuZhixing chukuZhixing);

    int saveTuikuBindChuku(List<TuikuDetails> tuikuDetailsList, TuikuZong tuikuZong);


    int deleteChukuBindZhixing(Integer[] ids);

    int saveChukuToZhixing(List<ChukuDetails> chukuDetailsList, ChukuZong chukuZong);

    ChukuZhixing selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ChukuZhixing chukuZhixing);


    List<ChukuZhixing> listChukuZhixingSelective(ChukuZhixing shengouZhixing);

//    int deleteByPrimaryKey(Integer id);

//    int deleteByZongId(Integer zongzhangid);

    //根据申购单总表id,删除申购单下对应的详细申购物料元组
    int deleteByIdArr(Integer[] ids);

    int deleteByChukudans(List<String> chukudanhaos);
}
